home *** CD-ROM | disk | FTP | other *** search
- RIPMOD2b ("THE COMPLETE RIP PACKAGE") file2
- ``Midiman`` WWIVnet #330 AT 856
- 0Sunday, October 3, 1993 9:47 pm 3-=1[5JST1]3=-0
- 0R: net33: @9 (via @22) [07:51 10/08/93]
- 0R: net33: @22 (via @7) [07:42 10/08/93]
- 0R: net33: @7 (via @8) [07:16 10/08/93]
- 0R: net33: @8 (via @1) [07:23 10/08/93]
- 0R: net33: @15 [06:06 10/08/93]
- 0R: net33: @4062 (via @4064) [06:27 10/06/93]
- 0R: net33: @4064 (via @1040) [03:36 10/06/93]
- 0R: net33: @1040 (via @2050) [12:04 10/05/93]
- 0R: net34: @2050 [09:48 10/05/93]
- 0R: net34: @2050 (via @1040) [16:16 10/04/93]
- 0R: net33: @1040 (via @856) [16:12 10/04/93]
- 0R: net33: @856 [22:06 10/03/93]
- ┌────────────────────────────────────────────────────────────────────────────┐
- │ Mod Name: RIPMOD2b Mod Author: MidiMan #1@850 │
- │ Difficulty: Normal Date: 09-17-1993 │
- │ WWIV Version: 4.22 Update 09-26-1993 │
- │ Description: Adds RIPscrip to WWIV │
- │ FILE # 2 │
- └────────────────────────────────────────────────────────────────────────────┘
-
- =============================================================================
- [#9] [LOAD] COM.C Look for :
- =============================================================================
- void ptime(void)
- {
- char xl[81], cl[81], atr[81], cc, s[81];
- long l;
-
- savel(cl, atr, xl, &cc);
- if (rip) { /* RIP MOD */
- riptime(); /* RIP MOD */
- return; /* RIP MOD */
- } /* RIP MOD */
- ansic(0);
- nl();
- save com.c
- ===========================================================================
- [#10] [Load] DEFAULTS.C
- ===========================================================================
- Look for: in print_cur_stat(void)
-
- else
- pl(get_string(402));
- npr("C. RIP Graphics : %s\r\n",(rip)?"On":"Off"); /* RIP MOD */
- pl(get_string(403));
- nl();
- nl();
-
- Further down in void defaults(void)
-
- if (okansi()) {
- prt(2,get_string(477));
- ch=onek("Q?123456789ABCW"); /* RIP MOD CHANGE */
- } else {
- prt(2,get_string(478));
- ch=onek("Q?1234567BCW"); /* RIP MOD CHANGE */
- }
- switch(ch) {
-
-
- case 'B':
- optional_lines();
- break;
- case 'C': /* RIP MOD */
- if (rip) { /* RIP MOD */
- rip=0; /* RIP MOD */
- nl(); /* RIP MOD */
- npr("RIP Graphics turned off."); /* RIP MOD */
- } else { /* RIP MOD */
- rip=1; /* RIP MOD */
- nl(); /* RIP MOD */
- npr("RIP Graphics turned on."); /* RIP MOD */
- if ((sysstatus_expert & thisuser.sysstatus)==0) /* RIP MOD */
- nl(); /* RIP MOD */
- else /* RIP MOD */
- thisuser.sysstatus ^= sysstatus_expert; /* RIP MOD */
- } /* RIP MOD */
- break; /* RIP MOD */
- case 'W':
-
- save defaults.c
- =============================================================================
- [#11] [LOAD] MAKEFILE.MAK
- =============================================================================
- look for and change the following:
- BBS_OVL = \
- xfertmp.obj xinit.obj subxtr.obj ripmod.obj /* RIP MOD */
-
- BBS_O_OVL = \
- $(OBJ)\voteedit.obj $(OBJ)\xferovl.obj $(OBJ)\xfertmp.obj\
- $(OBJ)\xinit.obj $(OBJ)\subxtr.obj $(OBJ)\ripmod.obj /* RIP MOD */
-
- Further down look for...
-
- $(TCC_OVL)
- xinit.obj : xinit.c
- $(TCC_OVL)
- subxtr.obj : subxtr.c
- $(TCC_OVL)
- ripmod.obj : ripmod.c /* RIP MOD */
- $(TCC_OVL) /* RIP MOD */
-
- Save makefile.mak
- ============================================================================
- Thats it!! MAKE FCNS (to generate a new FCNS.H file)
- RUN MAKE, watch it compile (hopefully without errors!)
-
- Here is RIPMOD.C & WINDOW.RIP, makesure you cut them out!
-
- - - - - - -[CUT HERE]- - - - [RIOMOD.C]- - - - - - - - - - - - - - - - - - -
- /* RIPMOD.C by MIDIMAN */
- /* If you use this mod, please drop a message saying hi! 1@850wwivnet */
-
- #include "vars.h"
- #pragma hdrstop
-
- void ripcheck(void)
- {
- long l;
- char ch;
- while (comhit())
- get1c();
- nl();
- get1c();
- pr1("\x1b[!");
- l=timer1()+60;
- while ((timer1()<l) && (!hangup)) {
- checkhangup();
- ch=get1c();
- if (ch=='R') {
- npr("RIPscrip Detected\r\n");
- ripblip();
- rip=1;
- return;
- }
- }
- }
-
- void rippause(void)
- {
- if (rip)
- getkey();
- else
- pausescr();
- }
-
- void ripwindow(void)
- {
- if (rip) {
- ripflg=1;
- printfile("window.rip");
- }
- }
-
- void riptime(void)
- {
- if (rip) {
- ripcut();
- pl("|1B00000200LK050F000B010300000003000000|1U522JCN6V0000");
- pl("|1B00000206JK000E0000000200000000000000|Y00000100");
- pl("|1U5D2RCC340000<>Time Information<>|Y00000100|=00000001|c01|L5B35CD35|c0B");
- pl("|L5B36CD36|c00");
- npr("|@5W3YCurrent Time : %s\r\n",times());
- npr("|@5W49Elapsed Time : %s\r\n",ctim(timer()-timeon));
- npr("|@5W4KTime Left : %s\r\n",ctim(nsl()));
- npr("|@5W4VToday's Date : %s\r\n",date());
- pl("|1K|1B280P0201EA0400000B010300020403000000|Y00000100|1U7R5N280P0W20<>Ok<>^M");
- rippause();
- rippaste();
- }
- }
-
-
- void ripoff(void)
- {
-
- if (rip) {
- ripcut();
- pl("|1B00000200LK050F000B010300000003000000|1U5D37CD670000");
- pl("|1B00000206JK000E0000000200000000000000|Y00000100");
- pl("|1U5N3EC33R0000<>Log Off System<>|Y00000100|=00000001|c01|L5L3SC43S|c0B");
- pl("|L5L3TC43T|c00|Y00000100|@7F49Are You Sure?|1K");
- pl("|1B280P0201EA0400000B010300020403000000|Y00000100|1U6B4Z280P2H00<>Yes<>Y");
- pl("|1U984Z280P2620<>No<>N|#|#|#");
- if (yn()) {
- ripflg=1;
- printfile("LOGOFF.RIP");
- hangup=1;
- rip=0;
- return;
- }
- rippaste();
- mm=1;
- }
- }
-
- void ripcut(void)
- {
- if (rip)
- pl("|10$SAVE$|10$STW$|10$SCB$|10$SMF$|10$COFF$");
- }
-
- void rippaste(void)
- {
- if (rip)
- pl("|10$RESTORE$|10$RTW$|10$RCB$|10$RMF$|10$CON$");
- }
-
- void ripbig(void)
- {
- if (rip)
- pl("|*|w0000270O12");
- }
-
- void ripblip(void)
- {
- if (rip)
- pl("|10$BLIP$");
- }
-
- =======================[END OF RIPMOD.C]===================================
-
- - - - - - - - - - - - - - [CUT HERE]- -[WINDOW.RIP]- - - - - - - - - - -
- |1K|*|S0107|B0K0GH87C|S010F|p040K7C0A7K0A080K0G|p040K0G0A08HI08H80G|S0108
- !|p04HI08H80GH87CHI7K|p04HI7KH87C0K7C0A7K|S0100|B0U0OGY74|c08|LH80GGY0O
- !|L0K0G0U0O|L0K7C0U74|LH87CGY74|LH87CHI7K|LH87CHI7K|c0F|LH87CHI7K
- !|w05042D0U11|1B00000200LK03040001080700000107000000|Y03000200
- !|1U0B7THE8M0000<>MidiLand BBS<>|#|#|#
- - - - - - - - - - - - - -[End of window.rip]- - - - - - - - - - - - - - - -
-
- [R] [I] [P]
-
- M O D
-
- Introduction:
-
- RIP is a new standard coming about...People want RIPscrip! SysOps want it
- bad enough to switch software. Well, don't do it! WWIV will have RIP!
- Users want it because it gives the user a GUI to navigate the bbs. I have
- had people signon and not know what kind of software it was! I have done some
- extensive studing on RIP. It is very easy! I don't know why it wasn't done
- earlier. RIP files are ASCII files contiaing commands to draw BOX,CIRCLE,OVOL
- ,RETANGLE etc...but really fast!
-
- I was working on this MOD when Trial Rider came out with his,
- basicly his mod printed RIP menus, I took it a few steps further. His mod
- was good, but had many many bugs. I used part of his code for the MENU's
- and thats about it. I wrote a RIP autodetection procedure much like the
- ANSI auto-detect. This works for all versions of RIP (or rip compats).
- I re-wrote this detection from the first version I wrote makeing it easier
- to install... also I added file handling better. Any file
- you have (*.ANS,*.MSG etc..) can have a RIP file...the bbs will look for .RIP
- first in your gfiles subdirectory. so virtually any of your files can be .RIP
- (LOGOFF,LOGON,WELCOME,SYSTEM and so on.) Anywys RIPMOD took my many many
- hours and I only have 1 computer, so you can imagine how long it took me.
- As some of you are good programmers you will see that am not Bill gates, but
- I got the job done. If you want to talk RIP, Email WWIVnet 1@850.
-
- Notes:
-
- ISSUE A RIPWINDOW(); whenever you want a TTY window. (window.rip)
- RIPPAUSE(); after a printfile() so that you can put a button on the
- rip screen to continue.
- RIPCUT(); Saves Current Screen to disk temporarily so you can
- put a popup box after a RIPCUT and you can put
- a RIPPASTE to put it back to normal w/o redrawing
- the screen. (instant)
- RIPPASTE(); Pastes whatever you cut, right back! (instant)
- RIPBIG(); When you want the text to be 24X80 (easier to read)
- Note: you cannot issue a RIPBIG with RIPWINDOW
- RIPBLIP(); Makes a bleep, not like the CTRL-G Beep, but like a
- barrier bleep, gets the users attention
-
- Basic Rip Commands you need to know:
-
- !|* (CLEAR THE SCREEN)
- !|1k (Kill mouse fields)
- !|#|#|# end of RIP sequence (not nessesary, but good to have)
-
- the ! must start on column 1, if your RIPscrip happens not to start on
- column 1, you need to make it a CTRL-PA like this: |*|1C0030330.
-
- You might want to put a RIPWINDOW() or a RIPBIG() when you hit F10, I think
- its in the CHAT1(); I Also put a RIPCUT() at the beggining and a RIPPASTE()
- at the end of CHAT1() so that it puts the user right back to where he was
- when you hit F10.
-
- I have created a few good looking menus for you.. You can edit these files
- with an ascii editor and change the name of the bbs. You should use RIPaint
- (full featured RIP drawing program) $200, or you can use TOMBART (Tombstone
- Artist) which is excellent shareware ($30) program that isn't crippled
- (does not support ICONS). Anyways, Make sure you make a WELCOME.RIP,
- LOGON.RIP, SYSTEM.RIP, LOGOFF.RIP. Make sure you put a PAUSE button on
- each screen except logoff, so the screens don't run together.
-
- If you update my MOD at all, Please leave me mail with the update, so I can
- play with it too!
-
- Special Thanks to:
- Wayne for WWIV BBS
- Trial Rider for the menus.rip routine
- Jigaweas & Hindu for BETA testing it
- and my Wife for putting up with me while I did it.
- Please subscribe to the RIP gallery sub #45497 Host 5497
-
-
-
-
-
-
-
-
-